<?php

/**
 * lote filter form.
 *
 * @package    plagas
 * @subpackage filter
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormFilterTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class loteFormFilter extends BaseloteFormFilter
{
  public function configure()
  {
      unset(
      $this['nro'],
      $this['hectareas']
      );

      $this->widgetSchema['establecimiento_id'] = new sfWidgetFormDoctrineChoice(array(
          'model' => 'establecimiento',
          'table_method' => 'getEstablecimientos',
          'add_empty' => 'Todos',));
  }
}
